1 package net.sourceforge.simplegamenet.chess; 2 3 import java.io.Serializable; 4 5 public class ChessPacket implements Serializable { 6 7 int packetCode; 8 Serializable data; 9 10 public ChessPacket(int packetCode, Serializable data) { 11 this.packetCode = packetCode; 12 this.data = data; 13 } 14 15 }